/**
 * 
 */
package graph;

/**
 * @author xiaohui
 *
 */
public interface SpatialSearchTreeObject {

	int getNumOfDimensions();

	double computeDistanceTo(double[] point);

	int getId();

	boolean intersects(Object obj);

	boolean intersects(MBR r);

	boolean isContainedBy(MBR rect);

	boolean isOfSameType(SpatialSearchTreeObject obj);

	boolean contains(MBR rect);

	MBR getMBR();

}
